import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-08-25
 * Time: 13:20
 */
public class Demo1 {
    public static void main(String[] args) {
        File file = new File("./abc");
        boolean tf = file.mkdir();
        System.out.println(tf);

        File file2 = new File("./abc/def/ghi");
        boolean tf2 = file2.mkdirs();
        System.out.println(tf2);

        File file3 = new File("./qwe/rty/uio/poi");
        boolean tf3 = file3.mkdirs();
        System.out.println(tf3);
    }
}
